package com.guoqiang.struct;

import java.util.Scanner;

public class IfDemo01 {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);

        System.out.println("请输入内容:");
        String str = scanner.nextLine();
        if (str.equals("Hello")) {
            System.out.println(str);
        }
        System.out.println("End...");


        scanner.close();

    }
}
